
SET(MODULE_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX})
SET(MODULE_NAME ActiveObjectTest)

SET (ACTIVEOBJECTTEST_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})

MESSAGE("-- ${MODULE_NAME} version ${MODULE_VERSION}" )
message("-- Working Directory ${ACTIVEOBJECTTEST_SOURCE_DIR}")
# -----------------------------
# sources
# -----------------------------


SET	( SOURCE_DIR
	    ${ACTIVEOBJECTTEST_SOURCE_DIR}/main.cpp
	)


INCLUDE_DIRECTORIES (
	    ${ACTIVEOBJECTTEST_SOURCE_DIR}
	    ${DESIGN_PATTERNS_SOURCE_DIR}/FlashSort/src
		    ) 

INSTALL(FILES ${MODULE_NAME} DESTINATION bin)

ADD_EXECUTABLE(${MODULE_NAME} ${SOURCE_DIR})


#link_directories(${CMAKE_SYSTEM_LIBRARY_PATH} )
#find_library(ACTIVEOBJECTLIB_PATH ${ACTIVEOBJECTLIB_NAME} /)
SET_TARGET_PROPERTIES(${MODULE_NAME} PROPERTIES LINKER_LANGUAGE CXX)
#MESSAGE("-- LibPath: ${ACTIVEOBJECTLIB_PATH} " )
ADD_DEPENDENCIES(${MODULE_NAME} ${ACTIVEOBJECTLIB_NAME})
TARGET_LINK_LIBRARIES(${MODULE_NAME} ${ACTIVEOBJECTLIB_NAME} boost_thread rt)


